#pragma once

class Particule
{
private:
	
	double m_vie;
	double m_fade;

	// vecteur direction
	double m_xd,m_yd,m_zd;
	// position
	double m_xp,m_yp,m_zp;
	
	// composants rgb
	float m_r,m_g,m_b;

public:

	Particule (double positionX,double positionY,double positionZ,
					   double directionX,double directionY,double directionZ,
					  
					   double duree_vie, double vitesse_disparition);
	Particule(void);
	~Particule(void);

	void setColor(float,float,float);
	void setPosition(double,double,double);
	void setDirection(double,double,double);
	void setVie(double life);

	double * getPosition();
	double * getColor();
	double * getDirection();
	double   getVie();
	double   getFade();
};
